package ZOUYE;

public class shuiguolei {

        public String name;
        public String area;
        public double price;
        public shuiguolei() {
        }
        public shuiguolei(String name, String area, double price) {
            this.name = name;
            this.area = area;
            this.price = price;
                       }

        public String getName() {
            return name;
        }
        public void setName(String name) {
            this.name = name;
        }
        public String getArea() {
            return area;
        }

        public void setArea(String area) {
            this.area = area;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }












        @Override
        public String toString() {
            return "Fruit{" +
                    "name='" + name + '\'' +
                    ", area='" + area + '\'' +
                    ", price=" + price +
                    '}';
        }
    }

